PFT

Section: User Commands (1)
Updated: July 6, 1989
Index Return to Main Contents
 

NAME

pft - communicate with PostScript Window Server  

SYNOPSIS

pft [ -NXHost hostname ] [ -f file ] [ -run file ] [ -s ] [ -h ] [ -r ] [ -p ] [ -NXPSName string ]
 

DESCRIPTION

pft is a simple program for communicating with the PostScript Window Server. pft first forms a connection to a Window Server. It then sends characters typed by the user to the Window Server, and it prints out data received from the Window Server. Use Control-D to generate an end-of-file, which will cause pft to exit.

At startup time, pft looks for the file ~/.pftrc. If it exists, it sends its contents to the Window Server after the connection to the server is made. This is a convenient place to define utility procs.

Normally, special definitions of =, == and pstack are downloaded at startup time to ensure their results are flushed back to pft for immediate display. The -r option causes pft to skip these redefinitions.  

OPTIONS

-NXHost
Directs pft to connect to the Window Server running on the machine hostname. If this option isn't used, the local Window Server is assumed. The option -host is equivalent.
-f
Causes the contents of file to be executed using the PostScript run operator. The main difference between -run and -f is that the run operator will stop executing the file after the first PostScript error is encountered, whereas under -f, execution of the file continues after errors (just as if you had types the contents in by hand).
-run
Causes the contents of file to be sent to the Window Server before user input is accepted. Note that file must be an absolute pathname.
-s
Causes pft to exit after a file specified with -f is sent to the Window Server.
-h
Supresses the use of ~/.pftrc.
-r
Suppresses loading new diefinitions for =, ==, and pstack.
-p
Creates a secure DPS context, disallowing file writing.
-NXPSName
Sets the string that pft uses to find the Window Server that it will connect to. This is the name that the Window Server used to register itself with the Network Message Server (nmserver).


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS

This document was created by man2html, using the manual pages.
Time: 17:18:35 GMT, March 25, 2025